<?php
/**
 * Project:     itoFW: Ito PHP Framework
 * File:        ajaxCall.php
 *
 * This file is for ajax call from framework components or modules
 * 
 * @package itoFW
 * @version 1.0.0
 * @changes none
 */
//Apsidraudimas, kad visa info eitu tik per index.php
define('_ito_sys',1);

//Sisteminis failas
require_once('system/system.php');
//Template engine objektas
$tpl = loadIt('lib_smarty');
//Darbinis komponentas
$com = getPubData('get_com');

//Duomenys is komponento
$data = loadIt('com_'.getPubData('get_com'));
//Duomenu priskyrimas template
$tpl->assign('content',$data->content);
//tpl isvedimas
$tpl->display(getConf('dir_system').'/template/blank.tpl');
?>